package com.platform.modular.feign.activity;

import com.platform.modular.model.activity.ActivityBaseVO;
import com.platform.modular.model.activity.ActivityListDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @author yifei.han
 * @version 1.0
 * @className ActivityFeignService
 * @description
 * @date 2022/3/18
 */
@FeignClient(value = "sk-platform-activity", contextId = "activity")
public interface ActivityFeignService {

    @RequestMapping(value = "/activity/obtainActivityBaseList")
    List<ActivityBaseVO> obtainActivityBaseList(ActivityListDTO activityListDTO);

    @RequestMapping(value = "/activity/obtainActivityDetail")
    ActivityBaseVO obtainActivityDetail(Long activityId);

}
